/* Navbar */
body {
    font-family: Arial, sans-serif;
    background-color: #000; /* Black background */
    color: white;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between; /* Ensure elements are spaced evenly */
    background-color: #000; /* Black background */
    height: 80px;  
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1); /* Optional shadow for navbar */
   
  }
  
  .nav-icon {
    width: 30px;
    height: 30px;
    vertical-align:middle;
  }
  
  .logo {
    max-width: 200px; /* Adjust size */
    height: auto;     /* Maintain aspect ratio */
  }
  
  .menu a{
    color: white;
    margin-right: 30px;
    text-decoration: none;
  }
  .menu a:hover {
    color: #f00;
  }
  
  .menu{
    margin-top: 20px;
    font-family: Arial, sans-serif;
  }
  
  .login-btn {
    background-color: #d4001a; /* Red button */
    color: white;
    padding: 8px; /* Flexible padding */
    border-radius: 8px;
    margin-left: 10px;
  }

  /* Section 1 */
.heading{
    width: 90%;
    display: flex;
    justify-content: center;
    align-items:center;
    flex-direction: column;
    text-align: center;
    margin: 20px auto;
}
.heading h1{
    font-size: 50px;
    color: white;
    margin-bottom: 25px;
    position: relative;

}
.heading h1::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    display: block;
    margin: 0 auto;
    background-color: red;

}
.heading p{
    font-size: 18px;
    color: white;
    margin-bottom: 35px;
}
.container{
    width: 90%;
   
}
.about{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.about-image{
    flex: 1;
    margin-right: 40px;
}
.about-image img{
    max-width: 100%;
    height: auto;
    display: block;
    transition: 0.5s ease;
}
.about-image:hover img{
    transform: scale(1.2);
}
.about-content{
    flex: 1;
}
.about-content h2{
    font-size: 23px;
    margin-bottom: 15px;
    color: white;
}
.about-content p{
    font-size: 18px;
    line-height: 1.5;
    color: white;
}

@media screen and(max-width:768px) {
    .heading{
        padding: 0px 20px;
    }
    .heading h1{
        font-size: 36px;
    }
    .heading p{
        font-size: 17px;
        margin-bottom: 0px;
    }
    .container{
        padding: 0px;
    }
    .about{
        padding: 20px;
        flex-direction: column;
    }
    .about-image{
        margin-right: 0px;
        margin-bottom: 20px;
    }
    .about-content p{
        padding: 0px;
        font-size: 16px;
    }
   
}

/* section 2 Individual Story Item */
.h11 {
    text-align: center;
    margin-top: 80px;
}

.story-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px; /* Reduced gap */
    border-radius: 10px;
    padding: 20px; /* Reduced padding */
    background-color: black;
    transition: transform 0.3s ease-in-out;
    max-width: 1200px; /* Constrain the overall width */
    margin: 0 auto; /* Center align */
    margin-right: 20px;
}

.story-item:hover {
    transform: translateY(-5px); /* Slight lift effect */
}

/* Image Container */
.image-container {
    margin-left: 20px; /* Reduced margin */
    width: 400px; /* Adjusted width */
    height: 300px; /* Fixed height */
    border-radius: 8px;
    overflow: hidden; /* Ensure the image fits well */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure proper scaling */
}

/* Hover effect for image */
.image-container:hover img {
    transform: scale(1.1); /* Zoom-in effect */
}

/* Text Container */
.text-container {
    width: 700px; /* Adjusted width */
    text-align: left;
}

.text-container h2 {
    font-size: 30px; /* Reduced font size */
    color: #fff; /* White color for heading */
    margin-bottom: 15px; /* Reduced margin */
    font-weight: bold;
    transition: color 0.3s ease; /* Smooth transition for color change */
}

/* Heading hover effect */
.text-container h2:hover {
    color: #ff0000; /* Red color on hover */
}

.text-container p {
    font-size: 18px; /* Reduced font size */
    color: #ccc; /* Lighter text color for better readability */
    line-height: 28px; /* Adjusted line height */
}

/* Left and Right Alignments */
.left {
    order: 1;
}

.right {
    order: 2;
}



/* ===== Responsive for Tablet and Mobile ===== */

/* Tablet: max-width 1024px */
@media screen and (max-width: 1024px) {
  /* Section 1: stack text first, image second */
  .about {
    flex-direction: column;
    text-align: center;
  }
  .about-content {
    order: 1;
    width: 90%;
    margin: 0 auto 20px auto;
  }
  .about-image {
    order: 2;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  .about-image img {
    width: 100%;
    height: auto;
  }

  /* Section 2: stack text first, image second */
  .story-item {
    flex-direction: column;
    text-align: center;
    margin-bottom: 40px;
  }
  .text-container {
    order: 1;
    width: 90%;
    margin: 0 auto 20px auto;
  }
  .image-container {
    order: 2;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: auto;
  }
  .image-container img {
    width: 100%;
    height: auto;
  }
}

/* Mobile: max-width 600px */
@media screen and (max-width: 600px) {
  .heading h1 {
    font-size: 32px;
  }
  .heading p {
    font-size: 16px;
  }
  .text-container h2 {
    font-size: 22px;
  }
  .text-container p {
    font-size: 15px;
    line-height: 22px;
  }
}



/* === Responsive Hamburger Menu for Mobile & Tablet === */

.hamburger {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
  margin-top: 25px;
  margin-right: 20px;
}

/* Hide the checkbox */
.nav-toggle {
  display: none;
}

/* Tablet + Mobile */
@media (max-width: 1024px) {
  /* Hide menu initially */
  .menu {
    display: none;
    position: absolute;
    top: 80px;
    right: 0;
    background-color: black;
    width: 220px;
    flex-direction: column;
    padding: 10px;
    border: 1px solid #444;
    z-index: 999;
  }

  .menu a {
    display: block;
    margin: 12px 0;
    text-align: center;
  }

  /* Show hamburger */
  .hamburger {
    display: block;
  }

  /* Show menu when checkbox is checked */
  .nav-toggle:checked ~ .menu {
    display: flex;
  }
}
